export interface LoginRequestData {
  // admin或editor
  username: 'userAdmin' | 'editor'
  password: string
  code: string
}

//Captcha是Completely Automated Public Turing test to tell Computers and Humans Apart的缩写，即验证码
export type CaptchaResponseData = ApiResponseData<string>

export type LoginResponseData = ApiResponseData<{ token: string }>
